package com.erp.erp_entitys.ShipmentPlan;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 出运计划附件
 * 
 * @date 2021-01-10
 */
public class ShipmentPlanFile {
    private Integer id;

    /**
     * 文件名称
     */
    private String fileName;

    /**
     * 文件路径
     */
    private String fileUrl;

    /**
     * 文件类型
     */
    private String fileType;

    /**
     * 文件大小（KB）
     */
    private String fileSize;

    /**
     * 操作员
     */
    private String fileExecutor;

    /**
     * 上传时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    private Date fileUploadTime;

    /**
     * 出运计划外键
     */
    private Integer shipmentPlanId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName == null ? null : fileName.trim();
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl == null ? null : fileUrl.trim();
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType == null ? null : fileType.trim();
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize == null ? null : fileSize.trim();
    }

    public String getFileExecutor() {
        return fileExecutor;
    }

    public void setFileExecutor(String fileExecutor) {
        this.fileExecutor = fileExecutor == null ? null : fileExecutor.trim();
    }

    public Date getFileUploadTime() {
        return fileUploadTime;
    }

    public void setFileUploadTime(Date fileUploadTime) {
        this.fileUploadTime = fileUploadTime;
    }

    public Integer getShipmentPlanId() {
        return shipmentPlanId;
    }

    public void setShipmentPlanId(Integer shipmentPlanId) {
        this.shipmentPlanId = shipmentPlanId;
    }
}